import 'package:flutter/material.dart';

class SecondPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("appbar_title"),

        /// 文字右边的图标
        actions: [
          IconButton(
            icon: Icon(Icons.add),
            onPressed: () => {},
          ),
          IconButton(icon: Icon(Icons.search), onPressed: () => {}),
          IconButton(icon: Icon(Icons.adb), onPressed: () => {})
        ],

        /// 文字左边的图标
        leading: IconButton(
          icon: Icon(Icons.arrow_back_ios),
          onPressed: () => Navigator.pop(context),
        ),
      ),
    );
  }
}
